//
//  ShaiWu.m
//  MyTest
//
//  Created by zhiyou on 16-4-13.
//  Copyright (c) 2016年 wangyang. All rights reserved.
//

#import "ShaiWu.h"

@implementation ShaiWu
- (id)initWithDictionary:(NSDictionary *)dic
{
    self = [super init];
    if (self) {
        _title = [dic objectForKey:@"title"];
        _name = [dic objectForKey:@"author_name"];
        _support = [dic objectForKey:@"support"];
        _agaist = [dic objectForKey:@"agaist"];
        _comment_count = [dic objectForKey:@"comment_count"];
        _front_pic = [dic objectForKey:@"front_pic"];
        _publish_time = [dic objectForKey:@"publish_time"];
        _author_avatar = [dic objectForKey:@"author_avatar"];
    }
    return self;
}
@end
